package com.gtm.repository;

import com.gtm.model.Assignment;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by 骆清波 on 2017/11/16.
 */
@Repository
public interface AssignmentRepository extends MongoRepository<Assignment,String> {


    Assignment findByTopicId(String topicId);


}
